package com.yunyao.dao.service.bamu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyao.dao.model.BamuReconciliationOrderMaterial;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 对账订单材料表 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IBamuReconciliationOrderMaterialService extends IService<BamuReconciliationOrderMaterial> {

    List<BamuReconciliationOrderMaterial> listByReconciliationId(String reconciliationId);

    BigDecimal getSupplyNumByContractId(String contractId);

    BigDecimal getComfirmSupplyNumByContractId(String contractId);

    BigDecimal getIncludingTaxTotalPriceByContractId(String contractId);

    BigDecimal getReconciliationPriceByContractId(String contractId);

    void deletedByReconciliationIdList(List<String> posupplyIdList);
}
